package com.dundun.SSO.pojo;

/**********************************************************
 * 版权所有：搜影科技 保留所有权利
 * 创建日期: 2017/3/24 0024 11:35
 * 创建作者: gezhangkai
 * 版    本:
 * 功    能:
 * 最后修改时间:
 * 修改记录:
 ***********************************************************/
public enum Constant {
    //返回状态
    SUCCESS(0,"操作成功"), UNKNOWN_ERROR(1,"操作失败，未知错误"), PARAMETER_ERROR(2,"参数错误"), PARAMETER_CONVERT_EXCEPTION(3,"参数转换错误"),;


    private int code;
    private String msg;

    Constant(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
